(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Publishing a Topic

Description: Publishing a Topic

Tutorial Level: BEGINNER

Next Tutorial: Applications

Publishing cmd_vel

Figure shows publishing data to cmd_vel topic. Firstly connect to ROS. Then, create a publisher with parameter topic name and message type. Then, send data. In this example cmd_vel value is sent. This data takes linear and angular velocities in x, y, z directions.

pub_cmd_vel.jpg

Wiki: evablockly_ros/Tutorials/indigo/Publishing a Topic (last edited 2015-11-16 11:24:47 by fatihinan)